package eu.runelord.tools.dictionaries;

import java.util.Collection;

import eu.runelord.tools.dictionaries.exceptions.ModificationTrialException;

public abstract class AbstractUnmodifiableDictionary implements
		IUnmodifiableDictionary {

	public void addOrUpdateValue(Value value) throws ModificationTrialException {
		throw new ModificationTrialException();

	}

	public void addValue(Value value) throws ModificationTrialException {
		throw new ModificationTrialException();

	}

	public void deleteValue(Value value) throws ModificationTrialException {
		throw new ModificationTrialException();

	}

	public abstract String getDescription();

	public abstract Long getId();

	public abstract String getName();
	
	public abstract Collection<Value> getValues();

	public Boolean isModifiable() {
		return new Boolean(false);
	}

	public abstract void setDescription(String description);

	public abstract void setId(Long id);

	public abstract void setName(String name);

	public void setValues(Collection<Value> valueCollection)
			throws ModificationTrialException {
		throw new ModificationTrialException();

	}

	public void updateValue(Value oldValue, Value newValue)
			throws ModificationTrialException {
		throw new ModificationTrialException();

	}
}
